package main;
import enums.Speciality;


public class Group {
	
    private String groupName;
    private Teacher curator;
    private Speciality speciality;
	private int groupID;
    private static int idGroupCounter = 0;
    Curriculum curriculum;
    
    public Group(Speciality speciality){	
    	this.setSpeciality(speciality);
    	groupID = ++idGroupCounter;
    }
    public Teacher getCurator() {
    	if (this.curator == null){
    		this.curator = new Teacher();
    	}
        return curator;
    }
    public void setCurator(Teacher curator) {
        this.curator = curator;
    }
    public String getGroupName() {
        return groupName;
    }
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
	public int getGroupID() {
        return groupID;
    }
	public Curriculum _Curriculum(){
		if (this.curriculum == null) {
			this.curriculum =  new Curriculum();
			}
		return this.curriculum;
	}
	public Speciality getSpeciality() {
		return speciality;
	}
	public void setSpeciality(Speciality speciality) {
		this.speciality = speciality;
	}
}